package Principal;
import java.util.Collections;

import FileReading.*;
import GameOfLife.Game;

public class Test {
	static public void main(String[] args) {
		/*final String message = args[0] + "";
		System.out.print((char) Event.ESCAPE + "7");
		Timer t = new Timer(200, new ActionListener() {
			int i = 0;

			public void actionPerformed(ActionEvent e) {
				System.out.print((char) Event.ESCAPE + "8");
				System.out.println(message.substring(i % message.length())
						+ message.substring(0, i % message.length()));
				System.out.println("t = " + i);
				i++;
			}
		});
		t.start();
		try {
			System.in.read();
		} catch (IOException e) {
		}
		t.stop();*/
		
		
		Game test = new Game("ACORN.LIF");
		
		System.out.println(test.getLivingCells());
		test.print();
		test.nextTime();
		System.out.println(test.getLivingCells());
		test.print();
		
		//test.run(10);
		
	}
}
